<?php
include 'config.php';
include 'date.php';
define('SMARTY_DIR','smarty_library/');
require(SMARTY_DIR.'Smarty.class.php');

$smarty = new Smarty ();

$smarty->template_dir='tpl/templates/';
$smarty->compile_dir='tpl/templates_c/';
$smarty->config_dir='tpl/configs/';
$smarty->cache_dir='tpl/cache/';

$password= $_POST['password'];
$email=$_POST['email'];
$name=$_POST['name'];
$fam=$_POST['fam'];


$smarty->assign('title',"Страница регистрации пользователя");
$smarty->assign('register',$register);
$smarty->assign('site_name',$site_name);
$smarty->assign('reg',$reg);
$smarty->assign('time1',$time1);
$smarty->display('register.tpl');
?>